<!doctype html>
<html class="no-js">

	<head>
		<meta charset="utf-8"/>
		<title>个人博客</title>
		
		<!--[if lt IE 9]>
			<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
		<![endif]-->
		<link rel="stylesheet" media="all" href="{{__PUBLIC__}}/Home/css/style.css"/>
		<meta name="viewport" content="width=device-width, initial-scale=1"/>
		
		{{include file="VIEW_PATH/Common/header.php"}}
		<div id="main">	
			<div class="wrapper clearfix">
				<!-- posts list -->
	        	<div id="posts-list">
	        		<div style="width: 500px;height: 100px;">
						<h2 style="margin-left: 200px;">
							{{$headData['type']}}：
											<!--分类：-->
							{{$headData['typeName']}}
						</h2>
						<ul>
		        		<li class="cat-item" style="margin-left: 200px; margin-top: 10px;">共 {{$headData['arcNum']}} 篇文章</li>
						</ul>
					</div>
						{{if value="$data"}}
						{{foreach from="$data" value="$v"}}			
							<article class="format-standard">
								<h2 class="page-heading"><span>{{$v['title']}}</span></h2>	
								<div class="entry-date"><div class="number" style="font-size: 31px;">{{date('Y',$v['sendtime'])}}</div><div class="year">{{date('m-d',$v['sendtime'])}}</div></div>
								<div>
									<a href="" style="font-size: 20px;">作者：</a>
											{{$v['author']}}
									<a href="" style="font-size: 20px;">分类：</a>
										<a href="list.html">{{$v['cname']}}</a><!--cname是category分类表-->
								</div>
								
								<div class="feature-image">
									<a href="img/slides/01.jpg" data-rel="prettyPhoto"><img src="{{__ROOT__}}/{{$v['thumb']}}" alt="Alt text" /></a>
								</div>
								
								<h5  class="post-heading"><a href="{{U('Content/index',array('aid'=>$v['aid']))}}">阅读全文</a></h5>
								<div class="excerpt">{{$v['digest']}}</div>
								<a href="single.html" class="read-more">continue &#8594;</a>
								<div class="meta">
									<!--<div class="categories">In <a href="#">Category 1</a>, <a href="#">Category 2</a></div>-->
									{{foreach from="$v['tag']" value="$vv"}}<!--$v['tag']是tag标签表-->
									<div class="comments"><a href="">{{$vv}}</a></div>
									{{endforeach}}
									<!--<div class="user"><a href="">By 123</a></div>-->
								</div>
		
							</article>
						{{endforeach}}
						{{else}}
						<h2>您查找的分类没有文章</h2>
						{{endif}}
    			</div>
    			{{include file="VIEW_PATH/Common/right.php"}}
			</div>
	</div>
  	  {{include file="VIEW_PATH/Common/footer.php"}}
	</body>
</html>S